package com.user;

import java.io.IOException;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.order.OrderService;

public class UserServiceTest {
	
	public static void main(String[] args) throws IOException {
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("user-consumer.xml");
		OrderService orderService = (OrderService)context.getBean("orderService");
		/*ResultObj res = orderService.getOrder("wang");
		System.out.println(res);*/
		System.in.read();
	}

}
